#ifndef GEOMETRY_H
#define GEOMETRY_H

#include <vector>

struct point
{
public:
   double x, y;
   point(double a, double b):
      x(a),
      y(b)
   {}
};

std::vector<int> douglas_peucker(const std::vector<point> &chain, double epsilon, int first, int last);
#endif
